%= render_agile_charts_breadcrumb %>
<%= @query.new_record? ? l(:label_agile_chart_plural) : h(@query.name) %>
<% html_title(@query.new_record? ? l(:label_agile_chart_plural) : @query.name) %>
<%= form_tag({ :controller => 'agile_charts', :action => 'show', :project_id => @project },
:method => :get, :id => 'query_form') do %>
<% end %>
<%= error_messages_for 'query' %>
<%= render_agile_chart(@chart, @issues) if @query.valid? %>
<% content_for :header_tags do %>
<%= chartjs_assets %>
<% end %>
<% content_for :sidebar do %>
<%= render :partial => 'agile_boards/issues_links' %>
<%= render :partial => 'agile_charts/agile_charts' %>
<% end %>